From: Owen Taylor Date: Sun, 23 Nov 2008 04:23:34 +0000 (+0000) Subject: Improve overlay mode's window scaling X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~11559 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1d1028adefa55c44750dbec89499cda5e9149613;p=gnome-shell.git Improve overlay mode's window scaling Add a layout for 5 windows and slightly increase the scale factor for 3 and 4 windows. Patch from Natan Yellin http://bugzilla.gnome.org/show_bug.cgi?id=561947 svn path=/trunk/; revision=81 --- diff --git a/js/ui/overlay.js b/js/ui/overlay.js index 5c8a60fea..e15ed991f 100644 --- a/js/ui/overlay.js +++ b/js/ui/overlay.js @@ -41,8 +41,9 @@ const WINDOW_OPACITY = 0.9 * 255; const POSITIONS = { 1: [[0.5, 0.5, 0.8]], 2: [[0.25, 0.5, 0.4], [0.75, 0.5, 0.4]], - 3: [[0.2, 0.33, 0.3], [0.5, 0.67, 0.3], [0.8, 0.33, 0.3]], - 4: [[0.25, 0.25, 0.3], [0.75, 0.25, 0.3], [0.75, 0.75, 0.3], [0.25, 0.75, 0.3]] + 3: [[0.25, 0.25, 0.33], [0.75, 0.25, 0.33], [0.5, 0.75, 0.33]], + 4: [[0.25, 0.25, 0.33], [0.75, 0.25, 0.33], [0.75, 0.75, 0.33], [0.25, 0.75, 0.33]], + 5: [[0.165, 0.25, 0.28], [0.495, 0.25, 0.28], [0.825, 0.25, 0.28], [0.25, 0.75, 0.4], [0.75, 0.75, 0.4]] }; function Sideshow(width) {